package a06;

import org.springframework.context.annotation.CommonAnnotationBeanPostProcessor;
import org.springframework.context.support.GenericApplicationContext;

public class A06 {
    public static void main(String[] args) {
        GenericApplicationContext context = new GenericApplicationContext();
        context.registerBean("mybean66", MyBean.class);
        context.registerBean(CommonAnnotationBeanPostProcessor.class);  //@PostConstruct也是这个后处理器解析的
        context.refresh();
        context.close();
    }
}
